import Vue from "vue";
import Vuex from "vuex";
import app from "@/store/module/app";
import user from "@/store/module/user";

Vue.use(Vuex);

//根据站点需要，引入store
let store = new Vuex.Store({});
store.registerModule("app", app);
store.registerModule("user", user);

export default store;